import UIKit

@available(iOS 5.0, *)
extension QKC where AA :UIManagedDocument {
    open func persistentStoreOptions_qk_s(_ persistentStoreOptions:  [AnyHashable : Any]?) -> QKC<AA,YY,ZZ, [AnyHashable : Any]?>{
		return link(next: persistentStoreOptions).then_QK { $0.value.persistentStoreOptions = persistentStoreOptions }
	}
    open func persistentStoreOptions_qk_g() -> QKC<AA,YY,ZZ, [AnyHashable : Any]?>{
		 self +^ self.value.persistentStoreOptions
	}

    open func modelConfiguration_qk_s(_ modelConfiguration:  String?) -> QKC<AA,YY,ZZ, String?>{
		return link(next: modelConfiguration).then_QK { $0.value.modelConfiguration = modelConfiguration }
	}
    open func modelConfiguration_qk_g() -> QKC<AA,YY,ZZ, String?>{
		 self +^ self.value.modelConfiguration
	}

    open func configurePersistentStoreCoordinator_qk_f(for storeURL: URL, ofType fileType: String, modelConfiguration configuration: String?, storeOptions: [AnyHashable : Any]? = nil) -> QKC<AA,YY,ZZ, URL>{
		 self +^ (try?self.value.configurePersistentStoreCoordinator(for:storeURL, ofType:fileType, modelConfiguration:configuration, storeOptions:storeOptions)) +^ storeURL
	}

    open func persistentStoreType_qk_f(forFileType fileType: String) -> QKC<AA,YY,ZZ,String>{
		 self +^ self.value.persistentStoreType(forFileType:fileType)
	}

    open func readAdditionalContent_qk_f(from absoluteURL: URL) -> QKC<AA,YY,ZZ, URL>{
		 self +^ (try?self.value.readAdditionalContent(from:absoluteURL)) +^ absoluteURL
	}

    open func additionalContent_qk_f(for absoluteURL: URL) -> QKC<AA,YY,ZZ,Any?>{
		 self +^ (try?self.value.additionalContent(for:absoluteURL))
	}

    open func writeAdditionalContent_qk_f(_ content: Any, to absoluteURL: URL, originalContentsURL absoluteOriginalContentsURL: URL?) -> QKC<AA,YY,ZZ, Any>{
		 self +^ (try?self.value.writeAdditionalContent(content, to:absoluteURL, originalContentsURL:absoluteOriginalContentsURL)) +^ content
	}

}

